package com.liao.furns.service;

import com.liao.furns.pojo.Furn;
import com.liao.furns.pojo.Page;

import java.util.List;

/**
 * @author lzp
 * @version 1.0
 * lzpnb!
 */
public interface FurnService {
    public List<Furn> queryFurns();
    public boolean add(Furn furn);

    public int deleteFurnByid(Integer id);

    public Furn queryFurnById(int id);
    public int updateFurn(Furn furn);

    public Page<Furn> page (int pageNo,int pageSize);
    public Page<Furn> pageByName (int pageNo,int pageSize,String name);
}
